home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
boss
/
boss_lb7.lzh
/
WINBOSS.FNS
< prev
Wrap
Text File
|
1992-03-05
|
15KB
|
345 lines
/* Prototype declarations for windows.c */
void wn_windows(void);
/* Prototype declarations for wn_print.c */
int wn_printf(struct wcb *wn, char *cs,...);
/* Prototype declarations for wn_activ.c */
int wn_activate(struct wcb *wn);
int wns_push(int imgix);
int wns_pop(int imgix);
int wns_alloc(unsigned size, unsigned *seg, unsigned *off, unsigned *ptr);
int wns_free(unsigned seg, unsigned off);
int wns_image(struct wcb *wn, int imgix, int flag);
void wns_blt(int row, int col, int width, int height, unsigned tseg,
unsigned toff, int imgix, int flag);
/* Prototype declarations for wn_bios.c */
unsigned _getca(int page, int row, int col);
void _putca(int page, unsigned atch, int row, int col);
void _absloc(int page, int row, int col);
void v_wca(int page, int ch, int at, int count);
void v_wtty(int ch);
void v_cls(int at);
void v_spage(int page);
void v_smode(int mode);
void v_locate(int page, int row, int col);
void v_hidec(void);
void v_sapu(int nl, int rul, int cul, int rlr, int clr, int at);
void v_sapd(int nl, int rul, int cul, int rlr, int clr, int at);
void v_rcpos(int page, int *row, int *col);
void v_rcvs(int *page, int *mode, int *cols);
int v_getch(void);
void v_kflush(void);
void v_sctype(int type, int sline, int eline);
void v_gctype(int page, int *sline, int *eline);
int v_setatr(int bg, int fg, int blink, int bold);
int v_setrev(int atrib);
/* Prototype declarations for wn_boxse.c */
void wn_boxset(int ul, int ur, int tb, int sd, int ll, int lr);
/* Prototype declarations for wn_close.c */
int wn_close(struct wcb *wn);
/* Prototype declarations for wn_clr.c */
int wn_clr(struct wcb *wn);
/* Prototype declarations for wn_clrfn.c */
int wn_clrrow(struct wcb *wn, int row);
int wn_clreol(struct wcb *wn, int r, int c);
int wn_clreow(struct wcb *wn, int r, int c);
/* Prototype declarations for wn_color.c */
void wn_color(struct wcb *wn, int atrib, int batrib);
/* Prototype declarations for wn_dbord.c */
int wn_dborder(struct wcb *wn, int ul, int ur, int tb, int sd, int ll, int lr);
void wn_border(int style);
int wn_drawborder(struct wcb *w, int style);
/* Prototype declarations for wn_delro.c */
int wn_delrow(struct wcb *wn, int row);
/* Prototype declarations for wn_dma.c */
void wn_dma(int flag);
/* Prototype declarations for wn_dmode.c */
void wn_dmode(int flag);
/* Prototype declarations for wn_dtext.c */
int wn_dtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt);
/* Prototype declarations for wn_fixcs.c */
int wn_fixcsr(struct wcb *wn);
/* Prototype declarations for wn_frmcl.c */
int wn_frmcls(struct wi_scb **frm);
/* Prototype declarations for wn_frmge.c */
int wn_frmget(struct wi_scb **frm);
/* Prototype declarations for wn_frmop.c */
struct wi_scb **wn_frmopn(int nfields);
/* Prototype declarations for wn_gbool.c */
int wn_gbool(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int *value,
char *ubuff, char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gdate.c */
int wn_gdate(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int *month,
int *day, int *year, char *ubuff, char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gdoub.c */
int wn_gdouble(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, double *value,
int fwidth, int ndec, double low, double high, char *ubuff,
char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gets.c */
char *wn_gets(struct wcb *wn, char *s, int va, char *cl);
/* Prototype declarations for wn_gfloa.c */
int wn_gfloat(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, float *value,
int fwidth, int ndec, double , double , char *ubuff,
char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gint.c */
int wn_gint(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int *value,
int fwidth, int low, int high, char *ubuff, char *hlpmsg,
char *errmsg);
/* Prototype declarations for wn_glong.c */
int wn_glong(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, long *value,
int fwidth, long low, long high, char *ubuff, char *hlpmsg,
char *errmsg);
/* Prototype declarations for wn_gphon.c */
int wn_gphone(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int *acode,
int *nnx, int *num, char *ubuff, char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gpwor.c */
int wn_gpword(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int fwidth,
char *ubuff, char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gtext.c */
int wns_gtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int fwidth,
char *ubuff, char *hlpmsg, char *errmsg);
int wn_gtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int fwidth,
char *ubuff, char *hlpmsg, char *errmsg);
int wn_gutext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int fwidth,
char *ubuff, char *hlpmsg, char *errmsg);
int wn_gltext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int fwidth,
char *ubuff, char *hlpmsg, char *errmsg);
int wn_gatext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int fwidth,
char *ubuff, char *hlpmsg, char *errmsg);
int wn_gmltext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int fwidth,
int nl, char **ubuff, char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gtime.c */
int wn_gtime(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, int *hours,
int *mins, int *secs, char *ubuff, char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_guint.c */
int wn_guint(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill, unsigned *value,
int fwidth, unsigned low, unsigned high, char *ubuff,
char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_gulon.c */
int wn_gulong(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row,
int col, char *prmpt, unsigned atrib, int fill,
unsigned long *value, int fwidth, unsigned long low,
unsigned long high, char *ubuff, char *hlpmsg, char *errmsg);
/* Prototype declarations for wn_help.c */
void showpage(long offset);
int filbuf(long offset);
int wn_hlinit(int row, int col, int width, int height, unsigned atrib,
unsigned batrib, char *help_file_name);
int wn_help(char *subject);
/* Prototype declarations for wn_iemsg.c */
int wn_iemsg(char *msg);
/* Prototype declarations for wn_ihmsg.c */
int wn_ihmsg(char *msg);
/* Prototype declarations for wn_init.c */
int wn_psinit(int rows, int cols);
int wn_init(void);
int wn_exit(void);
void wn_shkey(unsigned scan_code);
/* Prototype declaratio